package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.AdminRoleMapper;
import com.rongke.model.AdminRole;
import com.rongke.service.AdminRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @AdminRoleServiceImpl
 * @ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class AdminRoleServiceImpl extends ServiceImpl<AdminRoleMapper, AdminRole> implements AdminRoleService {

    @Autowired
    private AdminRoleMapper adminRoleMapper;

    /**
     * @根据条件查找
     * @param adminRole
     * @return
     */
    @Override
    public List<AdminRole> selectByCondition(AdminRole adminRole) {
        return adminRoleMapper.selectByCondition(adminRole);
    }
}
